package com.order.service;

import com.order.dto.OrderPageQueryDTO;
import com.order.entity.OrderDetail;
import com.order.entity.OrderHistory;
import com.order.result.PageResult;

import java.util.List;

public interface OrderService {

    List<OrderHistory> getOrderHistory();

    List<OrderDetail> getOrderDetail(Long orderId);

    /**
     * 条件搜索订单
     * @param ordersPageQueryDTO
     * @return
     */
    PageResult conditionSearch(OrderPageQueryDTO ordersPageQueryDTO);

    void submit();
}
